home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #2
/
Monster Media No. 2 (Monster Media)(1994).ISO
/
utils2
/
mda.zip
/
READ.ME
< prev
Wrap
Text File
|
1994-06-13
|
1KB
|
39 lines
MDA.SYS
13 June 1994
This is a simple screen driver designed for users (usually
developers) with a two-monitor system. It's an installable driver, and
once installed you can redirect output to it, or open it as a file.
Installation is simple - you add a line to your CONFIG.SYS file, like
this:
DEVICE=MDA.SYS
The device name is MDA.
I use it to redirect compiler and linker output, so that any error
messages are left on the mono screen for me to refer to while I
correct any problems in the source code. Tabs are expanded to 4
spaces.
From within your own programs you can open the device as a file,
and send diagnostic messages to it. For example:
DebugHandle = open ("MDA", O_APPEND | O_RDWR) ;
write (DebugHandle, OKMessage, sizeof (OKMessage)) ;
You need to use open() as opposed to fopen() since the latter
provides buffering, so you may not see your output straight away.
Remember to close() the file when finished.
The driver does not currently check for the presence of an MDA
adapter during installation.
The software is provided for you to use at your own risk, and I
will not be held responsible for any damage or loss, however caused,
arising as a result of the use of this program.
Adrian Urquhart
100126,1211